#define _CRT_SECURE_NO_WARNINGS 1
using namespace std;
#include"queue.h"
#include"stack.h"


int main()
{
	//cp::stack<int, vector<int>> st;

	//st.push(1);
	//st.push(2);
	//st.push(3);

	//while (!st.empty())
	//{
	//	cout << st.top() << endl;
	//	st.pop();
	//}
	//cout << st.size() << endl;

	cp::queue<int, list<int>> q;

	q.push_back(1);
	q.push_back(2);
	q.push_back(3);

	q.empty();
	cout << q.size() << endl;
	cout << q.front() << endl;
	q.pop_back();
	cout << q.back() << endl;
	q.pop_back();
	
	cout << q.front() << endl;

	return 0;
}